home *** CD-ROM | disk | FTP | other *** search
/ Meeting Pearls 4 / Meeting Pearls Vol. IV (1996)(GTI - Schatztruhe)[!].iso / Pearls / etech / Spice / examples / diodisto.cir < prev    next >
Text File  |  1991-04-23  |  292b  |  14 lines

  1.     Diode-Resistor circuit
  2.  
  3. r1 2 0 1k
  4. d1 1 2 diode
  5. vcc 1 3 5v ac 0.001 sin(5 0.01 1000) distof1 0.01 distof2 0.01
  6. vcc2 3 0 0v
  7. *.model diode D
  8. .model diode D is=1.0e-14 tt=0.1n cjo=2p
  9. *.disto dec 1 1000.0 1000.0 
  10. *.disto dec 20 1.0e3 1.0e8 
  11. .disto dec 20 1.0e3 1.0e8 0.9
  12. *the output is v(2)
  13. .end
  14.